]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
st/theme-node: Correct StTextAlign docs
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 29 Apr 2026 18:51:42 +0000 (20:51 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 29 Jun 2026 17:48:56 +0000 (19:48 +0200)
LEFT/RIGHT always align to the left/right. Those only correspond
to the beginning/end for LTR locales, in RTL they are swapped.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4204>
(cherry picked from commit 26d1056a9afbfcbe50e18f62cd3fcb7b7f87da74)

src/st/st-theme-node.h

index 48637d83073264608ab5b7b61a4d5bd430e84f89..0dfaa97ad2e7320ae38871f422b64f188b3396a2 100644 (file)
@@ -112,9 +112,9 @@ typedef enum {
 
 /**
  * StTextAlign:
- * @ST_TEXT_ALIGN_LEFT: Text is aligned at the beginning of the label.
+ * @ST_TEXT_ALIGN_LEFT: Text is aligned at the left of the label.
  * @ST_TEXT_ALIGN_CENTER: Text is aligned in the middle of the label.
- * @ST_TEXT_ALIGN_RIGHT: Text is aligned at the end of the label.
+ * @ST_TEXT_ALIGN_RIGHT: Text is aligned at the right of the label.
  * @ST_GRADIENT_JUSTIFY: Text is justified in the label.
  *
  * Used to align text in a label.